// import { registerApp } from '@/global/index';
import { globalRegister } from '@/global/index';
import 'element-plus/dist/index.css';
import 'normalize.css';
import { createApp } from 'vue';

import rootApp from './App.vue';
import './assets/css/index.less';
import router from './router';
import store, { setupStore } from './store';

const app = createApp(rootApp);
app.use(globalRegister);
app.use(store);
setupStore();
app.use(router);
app.mount('#app');
